package com.wsl.sale.controller;

import com.wsl.sale.PrefixProperties;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class PropertiesController {
    @Autowired
    PrefixProperties prefixProperties;
    @RequestMapping("wsl")
    public String getWsl(){
        return prefixProperties.getAge()+prefixProperties.getName();
    }
}
